<?php

use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class AdviceRule extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
    	Schema::create('advice_rules', function (Blueprint $table) {
        $table->increments('id');
        $table->string('title');
        $table->text('describe');
        $table->text('rule');
        $table->text('content');
        $table->timestamps();
    	});
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        //
        Schema::drop('advice_rules');
    }
}
